package com.lemon.boot.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 菜单-接口中间表持久层对象，对应数据库
 *
 * @author 李猛
 * @since 2024-02-11
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@ApiModel(value = "菜单-接口实体类")
@TableName("sys_menu_resource")
public class MenuResourcePO implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键ID
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id")
    private Long id;

    //角色ID
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    //租户菜单ID
    @ApiModelProperty(value = "租户菜单ID")
    private Long tenantMenuId;

    //资源ID
    @ApiModelProperty(value = "资源ID")
    private Long resourceId;


}
